package com.csnf.product.service.impl;

import com.csnf.pojo.Product;
import com.csnf.product.service.ProductService;
import org.springframework.stereotype.Service;

@Service
public class ProductServiceImpl implements ProductService {

    @Override
    public Product getProductById(Integer id) {
        Product product = new Product(id,"小米"+id,1500,2);
        return product;
    }
}
